//
//  DZSqlManager.h
//  DaoZiJinFu
//
//  Created by dzjf on 2017/1/11.
//  Copyright © 2017年 dzjf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDB.h>
static NSString * const DBBindCard = @"DZBindCardSQL";

@interface DZSqlManager : NSObject

@property (nonatomic, strong)FMDatabase *dataBase;

+ (instancetype)shareInstance;

- (BOOL)creatNewTable:(NSString *)table;
- (BOOL)insertTbaleWithUserId:(NSString *)userId data:(NSDictionary *)data;
- (BOOL)updateTableWithUserId:(NSString *)userId data:(NSDictionary *)data;
- (id)selectTableWithUserId:(NSString *)userId;
@end
